package com.bupt.bean;

import lombok.Data;
import lombok.ToString;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@ToString
@Entity
@Table(name = "channel_section_t", schema = "dev", catalog = "")
public class ChannelSection {

    @Id
    private Integer channelSectionId;

    private Integer deviceChannelId;

    private int channelIndex;

    private String sectionName;

    private int  sectionIndex;

    private Float startPosition;

    private Float endPosition;

    private int status;

    private int endpoint_switch;

    private String endpoint;

    //private String longitude;

   // private String latitude;

    //private String endLongitude;

    //private String endLatitude;

    //private int direction;
}
